In This Topic
Sets the shading domain.
The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending points of the axis. The variable t becomes the input argument to the shading function.
Syntax
public void setDomain(
double[]
)
|
Parameters
- value
- An array of two numbers [t0 t1] specifying the limiting values of a parametric variable t.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | Thrown when the domain array length is not equal to 2. |
See Also